package com.easyaccount.controller;

import com.sun.deploy.net.HttpResponse;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;


@Controller
@RequestMapping("/sys")
public class SysController {

    @RequestMapping("welcome")
    public String welcome(){
        return "sys/welcome";
    }
    @RequestMapping("index")

    public String index(){
        return "redirect:/";
    }

    @RequestMapping("main")
    public String toMain(){
        return "main";
    }

    @RequestMapping("user")
    public String user(){
        return "sys/user";
    }

    @RequestMapping("dept")
    public String dept(){
        return "sys/dept";
    }

    @RequestMapping("menu")
    public String menu(){
        return "sys/menu";
    }

    @RequestMapping("role")
    public String role(){
        return "sys/role";
    }

    @RequestMapping("dailyAcctDict")
    public String dailyAcctDict(){
        return "sys/dailyAcctDict";
    }

}
